home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobybigair.swf / scripts / frame_1 / DoAction_3.as < prev    next >
Text File  |  2007-10-01  |  953b  |  50 lines

  1. gameMC.HSLoading = function()
  2. {
  3.    if(gameMC.gLoadInit != true)
  4.    {
  5.       gameMC.gGameState = "LOADING";
  6.       gameMC.gLoadStartTime = int(getTimer() / 1000);
  7.       gameMC.gLoadInit = true;
  8.    }
  9. };
  10. gameMC.HSLoaded = function()
  11. {
  12.    tellTarget(gameMC.hs_scripts)
  13.    {
  14.       call("mLoaded");
  15.    }
  16. };
  17. gameMC.HSPlay = function()
  18. {
  19.    tellTarget(gameMC.hs_scripts)
  20.    {
  21.       call("mPlay");
  22.    }
  23. };
  24. gameMC.HSLevelStart = function()
  25. {
  26.    tellTarget(gameMC.hs_scripts)
  27.    {
  28.       call("mLevelStart");
  29.    }
  30. };
  31. gameMC.HSGameOver = function()
  32. {
  33.    gameMC.gScore = Number(_root.gScore);
  34.    gameMC.gLevel = Number(_root.gLevel);
  35.    if(containerMC != null)
  36.    {
  37.       containerMC.hs_placeholder._x = 100;
  38.       containerMC.hs_placeholder._y = 60;
  39.    }
  40.    else
  41.    {
  42.       gameMC.hs_placeholder._x = 100;
  43.       gameMC.hs_placeholder._y = 60;
  44.    }
  45.    tellTarget(gameMC.hs_scripts)
  46.    {
  47.       call("mGameOver");
  48.    }
  49. };
  50.